﻿using DotNetCore.CAP;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ongoal.Quotation.Cap
{
    /// <summary>
    /// 默认回调函数执行类
    /// </summary>
    public class MessageDefaultCallbackExecutor : ICapSubscribe
    {
        /// <summary>
        /// 默认回调函数执行器
        /// </summary>
        /// <param name="result">结果</param>
        /// <param name="header">Header信息</param>
        [CapSubscribe(SubscribeConstantBase.DefaultCallback)]
        public void DefaultCallbackExecute(ApiResult? result, [FromCap] CapHeader header)
        {

        }
    }
}
